package com.elitel.frame.main.dao.ext;

import java.util.List;
import java.util.Map;



import org.apache.ibatis.annotations.Param;

import com.elitel.frame.main.entity.ext.DBServer;



public interface DBServerMapper {
	
	public List<String> selectDbName() throws Exception;
	
	public DBServer selectServer(@Param("dbKey") String dbKey)throws Exception;
	
	public int updateServer(DBServer server);
	
	public int delectServer(String guid)throws Exception;
	
	public int insertServer(DBServer server)throws Exception;

	public List<DBServer> selectFenye(Map<String, Object> map);

	public int selectCount(String dbKey);

	public DBServer selectSerOne(String guid);

	public List<DBServer> selectServers(@Param("dbKey") String dbKey);
	
	List<DBServer> selectALLsql();
	
}
